import java.util.ArrayList;
import java.util.Comparator;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * User: 花海
 * Date: 2022-10-31
 * Time: 16:23
 */

public class Main {






    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        char[]arr=new char[200];

        ArrayList<Integer> list=new ArrayList<>();
        String AN="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z";
        String MING="V W X Y Z A B C D E F G H I J K L M N O P Q R S T U";
        for (int i = 0; i < AN.length(); i+=2) {
            arr[AN.charAt(i)]=MING.charAt(i);
            list.add((int) AN.charAt(i));

        }

        while ((sc.hasNextLine())){
            String input=sc.next();
            char[] str=input.toCharArray();

            System.out.println();
            for (int i = 0; i < input.length(); i++) {
                if(list.contains((int)input.charAt(i))){
                    str[i]= arr[input.charAt(i)];

                }




            }
            for (int j = 0; j <str.length ; j++) {
                System.out.print(str[j]);
            }




        }





    }
}